home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_400 / 438_01 / stelnet.bug < prev    next >
Text File  |  1994-12-19  |  1KB  |  41 lines

  1. Addendum for the stelnet 1.00 documentation
  2.  
  3. stelnet seems to crash randomly on one system it has been beta tested on.
  4. It does it quite rarely, apparently randomly, and only while transferring
  5. 8-bit data from the telnet port to the serial port. It doesn't break
  6. anything, just halts. The carrier detect watchdog of FOSSIL drivers seems
  7. to be able to reboot the machine.
  8.  
  9. 8-bit clean mode and such don't seem to have any effect on the crashes. And
  10. transferring 7-bit data doesn't seem to crash. So in normal use (using
  11. stelnet as a terminal to e.g. a Unix system), about the only thing this
  12. affects is file transfers.
  13.  
  14. If you're telnetting into a Unix system, running the following C program for
  15. about five to fifteen minutes (on a 14400 bps or slower link) should cause
  16. the crash.
  17.  
  18. *** Begin
  19. #include <stdio.h>
  20.  
  21. int main()
  22. {
  23.   int i;
  24.   while (1) for (i=0;i<256;i++) putchar(i);
  25.   exit(0);
  26. }
  27. *** End
  28.  
  29. I couldn't repeat this on my own systems (a 486DX-50 with a
  30. NE-1000-compatible network card running Linux, and a 486DX2-80 with a
  31. NE2000-compatible network card running stelnet, with a null-modem cable
  32. between them), though. Thus I can't do much to fix it, at least not without
  33. additional information. I'm not even sure if it's stelnet or some driver
  34. that crashes...
  35.  
  36. I would appreciate reports from systems where this bug occurs or doesn't
  37. occur.
  38.  
  39. The author,
  40. riku.saikkonen@pcb.compart.fi
  41.